file = File.new("Html.g", "r")
while (line = file.gets)
    line.scan(/<\/\w*>/).each { |match|
		tag = match.gsub("</","").gsub(">","")
		puts "\t\ttagMap.put(\""+tag+"\", HTML.Tag."+tag.upcase+");"
	}
end
file.close
